package thread;

public class Test05_Join {

	public static void main(String[] args) {
		MyThread05 th = new MyThread05();
		th.start();
		try{
			th.join();
		}catch(InterruptedException ie){
			System.out.println(ie.getMessage());
		}
		System.out.println("메인스레드가 종료됩니다.");
	}
	
}
